package tiantao.taogu.department.service;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import tiantao.taogu.department.bean.TgDepartmentInfo;

import java.util.List;

/**
 * 桃谷科室服务
 */
public interface DepartmentService {

    /**
     *
     * @param hospitalGuid 医院guid
     * @param id 科室id  0：获取一级科室 id号：获取对应一级科室id号下的二级科室
     * @return
     */
    @RequestMapping("/taogu/department/getDepartmentList")
    public List<TgDepartmentInfo> getHospitalInfo(@RequestParam("hospitalGuid")String hospitalGuid,@RequestParam("id")Integer id );
}
